package com.yonyougov.devops.cruxcisupport.committrace;

import com.yonyougov.devops.cruxcisupport.util.CruxDevOpsIdGenerator;
import com.yonyougov.devops.fwc.core.entity.BasicEntity;
import com.yonyougov.devops.fwc.core.id.IdGenerator;
import lombok.Data;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

/***
 * t_commit_trace
 */
@Data
public class CommitTraceEntity extends BasicEntity implements Serializable {

    /***
     * 主键
     */
    private BigInteger id;

    /***
     * 提测Id
     */
    private BigInteger commitTestId;

    /***
     * 描述
     */
    private String remark;

    /***
     * 追踪时间
     */
    private Date createTime;

    /***
     * 状态
     */
    private Integer status;

    /***
     * 状态
     */
    private BigInteger operatorId;

    //<!--用户自定义代码开始-->
    public IdGenerator idGenerator() {
        return new CruxDevOpsIdGenerator();
    }
    //<!--用户自定义代码结束-->
}
